-
Home
-
OCA para WooCommerce
-
3.0.2
-
Code
-
Classes
- OcaShippingMethod
Total Complexity |
52 |
Dependencies |
15 |
Dependents |
2 |
Total lines |
332 |
Lines of code |
233 |
Logical lines of code |
125 |
Comment lines |
21 |
Methods |
10 |
Properties |
2 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
final_price() |
A |
45 |
14 |
38 |
calculate_shipping() |
A |
42 |
8 |
53 |
shipping_label() |
A |
53 |
8 |
21 |
add_shipping_to_branch() |
S |
50 |
7 |
30 |
add_method() |
S |
52 |
4 |
24 |
add_shipping_to_door() |
S |
56 |
4 |
18 |
maybe_set_price_0() |
S |
70 |
3 |
6 |
init_form_fields() |
S |
56 |
1 |
20 |
__construct() |
S |
58 |
1 |
16 |
maybe_set_one_package() |
S |
67 |
2 |
7 |